<template>
	<view :style="{ height: statusBarHeight }" class="uni-status-bar">
	</view>
</template>

<script>
	export default {
		name:"znavbar",
		data() {
			return {
				// #ifdef MP-WEIXIN
				statusBarHeight: uni.getWindowInfo().statusBarHeight + 'px',
				// #endif
				// #ifndef MP-WEIXIN
				statusBarHeight: uni.getSystemInfoSync().statusBarHeight + 'px',
				// #endif
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	.uni-status-bar {
		height: 20px;
	}
</style>